package com.mzj.saas.mservice.lock.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mzj.saas.mservice.sys.entity.IdEntity;

import java.util.Date;

/**
 * 承租人授权信息设置表
 */
public class MatchUserLockAuthorVO extends IdEntity {
    private Long id;//id

    private String matchUserStockId; //承租人id

    private String houseId; //房屋id

    private Integer authorNumber; //申请授权临时密码次数

    private String effectiveJulyDate; //生效年月：yyyyMM

    private Integer useNumber; //授权临时密码已使用次数

    private Integer passwordValidity; //授权临时密码有效期(天)

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startValidTime; //有效开始时间

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endValidTime; //有效结束时间

    private String password;//密码值

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime; //创建时间

    private Long operatorUserId; //操作人

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastUpdateTime;//最后更新时间

    private String communityname;//小区名

    private String buildname;//楼栋名

    private String unitname;//单元名

    private String roomnumber;//房号

    private String h_houseId;//查到的房屋表的id

    private String houseIds;//房屋id拼接

    public String getH_houseId() {
        return h_houseId;
    }

    public void setH_houseId(String h_houseId) {
        this.h_houseId = h_houseId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMatchUserStockId() {
        return matchUserStockId;
    }

    public void setMatchUserStockId(String matchUserStockId) {
        this.matchUserStockId = matchUserStockId;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }

    public Integer getAuthorNumber() {
        return authorNumber;
    }

    public void setAuthorNumber(Integer authorNumber) {
        this.authorNumber = authorNumber;
    }

    public String getEffectiveJulyDate() {
        return effectiveJulyDate;
    }

    public void setEffectiveJulyDate(String effectiveJulyDate) {
        this.effectiveJulyDate = effectiveJulyDate;
    }

    public Integer getUseNumber() {
        return useNumber;
    }

    public void setUseNumber(Integer useNumber) {
        this.useNumber = useNumber;
    }

    public Integer getPasswordValidity() {
        return passwordValidity;
    }

    public void setPasswordValidity(Integer passwordValidity) {
        this.passwordValidity = passwordValidity;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getOperatorUserId() {
        return operatorUserId;
    }

    public void setOperatorUserId(Long operatorUserId) {
        this.operatorUserId = operatorUserId;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getCommunityname() {
        return communityname;
    }

    public void setCommunityname(String communityname) {
        this.communityname = communityname;
    }

    public String getBuildname() {
        return buildname;
    }

    public void setBuildname(String buildname) {
        this.buildname = buildname;
    }

    public String getUnitname() {
        return unitname;
    }

    public void setUnitname(String unitname) {
        this.unitname = unitname;
    }

    public String getRoomnumber() {
        return roomnumber;
    }

    public void setRoomnumber(String roomnumber) {
        this.roomnumber = roomnumber;
    }

    public String getHouseIds() {
        return houseIds;
    }

    public void setHouseIds(String houseIds) {
        this.houseIds = houseIds;
    }

    public Date getStartValidTime() {
        return startValidTime;
    }

    public void setStartValidTime(Date startValidTime) {
        this.startValidTime = startValidTime;
    }

    public Date getEndValidTime() {
        return endValidTime;
    }

    public void setEndValidTime(Date endValidTime) {
        this.endValidTime = endValidTime;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
